<!doctype html>
<html lang="en">

<head>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <%include("/app/resapi/style.html"){}%>
    <link rel="icon" href="/otherassets/images/favicon.png">
    <link rel="stylesheet" href="/otherassets/css/style.css">
    <link rel="stylesheet" href="/otherassets/css/night-mode.css">
    <link rel="stylesheet" href="/otherassets/css/uikit.min.css">
    <link rel="stylesheet" href="/otherassets/css/icons.css">
    <link href="/otherassets/css/css.css" rel="stylesheet">
</head>

<body style="overflow: auto;">

<!-- Wrapper -->
<div id="wrapper">

    <!-- sidebar -->
    <div class="main_sidebar">
        <div class="side-overlay" uk-toggle="target: #wrapper ; cls: collapse-sidebar mobile-visible"></div>

        <!-- sidebar header -->
        <div class="sidebar-header">
            <h4> Navigation</h4>
            <span class="btn-close" uk-toggle="target: #wrapper ; cls: collapse-sidebar mobile-visible"></span>
        </div>

        <!-- sidebar Menu -->
        <div class="sidebar">
            <div class="sidebar_innr" data-simplebar>
                <div class="sections">
                    <h3> 浏览... </h3>
                    <ul>
                        <li class="active"><a href="/app/core/party/album/index"> <i class="uil-home-alt"></i> <span> 专辑首页 </span> </a></li>
                        <li><a href="/app/core/party/album/singleother?view=channals">
                            <i class="uil-users-alt"></i> <span> 关注人员 </span> </a></li>
                        <li><a href="/app/core/party/album/singleother?view=catagroies"> <i class="uil-layers"></i> <span> 类别</span> </a></li>
                        <li><a href="/app/core/party/album/singleother?view=history"> <i class="uil-history"></i> <span> 历史记录 </span> </a></li>
                    </ul>
                </div>
                <div class="sections">
                    <h3> 我关注的 </h3>
                    <ul id="mySubscribeUserList">
                    </ul>
                    <!-- view more subcription-->
                    <div class="uk-flex uk-flex-center mb-3">
                        <a href="/app/core/party/album/singleother?view=channals" class="button default circle px-5">
                            <i class="uil-plus mr-2"></i>更多订阅</a>
                    </div>
                </div>

                <div id="foot">
                    <div class="foot-content">
                        <p>© 2020 <strong>${session.UNIT.orgName}</strong>. All Rights Reserved. </p>
                    </div>

                </div>
            </div>
        </div>
    </div>

    <!-- header -->
    <div id="main_header">
        <header>

            <!-- Logo-->
            <i class="header-traiger uil-bars"
               uk-toggle="target: #wrapper ; cls: collapse-sidebar mobile-visible"></i>

            <!-- Logo-->
            <div id="logo">
                <a href="#"> <img src="/sys/file/getBannerImg?fileName=${logoPic}" alt=""></a>
                <a href="#"> <img src="/otherassets/images/logo-light.png" class="logo-inverse" alt=""></a>
            </div>
            <!-- user icons -->
            <div class="head_user">
                <!-- upload dropdown box -->
                <div uk-dropdown="pos: top-right;mode:click ; animation: uk-animation-slide-bottom-small"
                     class="dropdown-notifications">

                    <!-- notivication header -->
                    <div class="dropdown-notifications-headline">
                        <h4>Upload Video</h4>
                    </div>

                    <!-- notification contents -->
                    <div class="dropdown-notifications-content uk-flex uk-flex-middle uk-flex-center text-center">


                        <div class="uk-flex uk-flex-column choose-upload  text-center">
                            <img src="/otherassets/images/upload.png" width="70" class="m-auto" alt="">
                            <p class="my-3"> Do you have a video wants to share us <br> please upload her ..
                            </p>
                            <div uk-form-custom>
                                <input type="file">
                                <a href="#" class="button soft-primary small"> Choose file</a>
                            </div>

                            <a href="#" class="uk-text-muted mt-3 uk-link"
                               uk-toggle="target: .choose-upload ;  animation: uk-animation-slide-right-small, uk-animation-slide-left-medium; queued: true">
                                Or Import Video </a>
                        </div>

                        <div class="uk-flex uk-flex-column choose-upload" hidden>
                            <i class="uil-import icon-large text-muted"></i>
                            <p class="my-3"> Import videos from YouTube <br> Copy / Paste your video link here </p>
                            <form class="uk-grid-small" uk-grid>
                                <div class="uk-width-expand">
                                    <input type="text" class="uk-input uk-form-small" placeholder="Paste link">
                                </div>
                                <div class="uk-width-auto">
                                    <button type="submit" class="button soft-primary">
                                        Import
                                    </button>
                                </div>
                            </form>
                            <a href="#" class="uk-text-muted mt-3 uk-link"
                               uk-toggle="target: .choose-upload ; animation: uk-animation-slide-left-small, uk-animation-slide-right-medium; queued: true">
                                Or Upload Video </a>
                        </div>


                    </div>
                    <hr class="m-0">
                    <div class="text-center uk-text-small py-2 uk-text-muted"> Your Video size Must be Maxmium 999MB
                    </div>
                </div>
            </div>

        </header>

    </div>


    <!-- contents -->
    <div class="main_content">

        <div class="main_content_inner">

            <!-- Slideshow -->
            <div class="uk-position-relative uk-visible-toggle uk-light" tabindex="-1"
                 uk-slideshow="animation: push ;min-height: 200; max-height: 350 ;autoplay: t rue">
                <ul class="uk-slideshow-items rounded">
                    <% if(bannerPic!=null){ for(item in bannerPic){%>
                    <li>
                        <div class="uk-position-cover" uk-slideshow-parallax="scale: 1.2,1.2,1">
                            <img src="/sys/file/getBannerImg?fileName=${item}" alt="" uk-cover>
                        </div>
                    </li>
                    <%}}%>
                </ul>

                <a class="uk-position-center-left-out uk-position-small uk-hidden-hover slidenav-prev" href="#"
                   uk-slideshow-item="previous"></a>
                <a class="uk-position-center-right-out uk-position-small uk-hidden-hover slidenav-next" href="#"
                   uk-slideshow-item="next"></a>

            </div>
            <!-- Videos sliders 1 -->
            <div class="video-grid-slider mt-4" uk-slider="finite: true">

                <div class="grid-slider-header">
                    <div>
                        <h3> 热点排行TOP10 </h3>
                        <p> 大家都在观看的专辑视频 </p>
                    </div>
                    <div class="grid-slider-header-link">

                        <div class="btn-arrow-slider">
                            <a href="#" class="btn-arrow-slides" uk-slider-item="previous">
                                <span class="arrow-left"></span>
                            </a>
                            <a href="#" class="btn-arrow-slides" uk-slider-item="next">
                                <span class="arrow-right"></span>
                            </a>
                        </div>

                    </div>
                </div>

                <ul class="uk-slider-items uk-child-width-1-4@m uk-child-width-1-3@s uk-grid" id="topvedio">

                </ul>

            </div>


            <!-- section header for slider 1 -->
            <%
            for(item in typeList)
            {
            %>
            <div class="section-header mt-5">
                <div class="section-header-left">
                    <h3> ${item.typeName} </h3>
                    <p>${item.remark} </p>
                </div>
                <div class="section-header-right">
                    <a href="/app/core/party/album/singleother?view=catagroies&albumTypeId=${item.albumTypeId}" class="see-all">更多</a>
                </div>
            </div>
            <div class="section-small pt-0">
                <div uk-slider="finite: true">
                    <ul class="uk-slider-items uk-child-width-1-4@m uk-child-width-1-3@s uk-grid mb-3 js-typelist" id="${item.albumTypeId}">
                    </ul>
                </div>
            </div>

            <%
            }
            %>

            <hr class="m-0">

            <!-- Find channals sliders 1 -->

            <div class="section-small">

                <div uk-slider="finite: true">

                    <div class="grid-slider-header">
                        <div>
                            <h3> 推荐关注 </h3>
                        </div>
                        <div class="grid-slider-header-link">
                            <a href="/app/core/party/album/singleother?view=channals" class="button transparent uk-visible@m"> 更多 </a>
                            <a href="#" class="slide-nav-prev" uk-slider-item="previous"></a>
                            <a href="#" class="slide-nav-next" uk-slider-item="next"></a>
                        </div>
                    </div>

                    <ul class="uk-slider-items uk-child-width-1-5@m uk-child-width-1-2@s uk-grid mb-3" id="userList">
                    </ul>
                </div>

            </div>

            <div class="footer">
                <div class="uk-grid-collapse" uk-grid>
                    <div class="uk-width-expand@s uk-first-column">
                        <p>© 2020 <strong>${session.UNIT.orgName}</strong>. All Rights Reserved. </p>
                    </div>
                    <div class="uk-width-auto@s">
                        <nav class="footer-nav-icon">
                            <ul>
                                <li><a href="#"></a></li>
                                <li><a href="#"></a></li>
                                <li><a href="#"></a></li>
                                <li><a href="#"></a></li>
                            </ul>
                        </nav>
                    </div>
                </div>
            </div>

        </div>
    </div>

</div>


<!-- For Night mode -->
<script>
    (function (window, document, undefined) {
        'use strict';
        if (!('localStorage' in window)) return;
        var nightMode = localStorage.getItem('gmtNightMode');
        if (nightMode) {
            document.documentElement.className += ' night-mode';
        }
    })(window, document);


    (function (window, document, undefined) {

        'use strict';

        // Feature test
        if (!('localStorage' in window)) return;

        // Get our newly insert toggle
        var nightMode = document.querySelector('#night-mode');
        if (!nightMode) return;

        // When clicked, toggle night mode on or off
        nightMode.addEventListener('click', function (event) {
            event.preventDefault();
            document.documentElement.classList.toggle('night-mode');
            if (document.documentElement.classList.contains('night-mode')) {
                localStorage.setItem('gmtNightMode', true);
                return;
            }
            localStorage.removeItem('gmtNightMode');
        }, false);

    })(window, document);
</script>

<%include("/app/resapi/sysjs.html"){}%>
<script src="/otherassets/js/uikit.min.js"></script>
<script src="/otherassets/js/simplebar.js"></script>
<script src="/otherassets/js/main.js"></script>
<script src="/gobal/js/page/party/album/home.js"></script>

</body>

</html>
